﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyBanHang.HeThong
{
	public class DangNhap
	{
		private static User nsd;
		public static void InitialUser(string ip_str_ten_truy_cap, string ip_str_mat_khau, decimal ip_dc_id)
		{
			nsd = new User();
			nsd.MatKhau = ip_str_mat_khau;
			nsd.TenTruyCap = ip_str_ten_truy_cap;
			nsd.ID = ip_dc_id;
		}
		public static string getTenTruyCap()
		{
			return nsd.TenTruyCap;
		}
		public static string getMatKhau()
		{
			return nsd.MatKhau;
		}
		public static decimal getIDUser()
		{
			return nsd.ID;
		}
	}
}
